package com.cc8w.entity;

import java.util.ArrayList;

import javax.validation.Valid;

import lombok.Data;

@Data
public class CompanyAndTypeListPojo {
	@Valid  //加上校验CompanyAndTypePojo类的验证规则生效,反之则不生效
	private ArrayList<CompanyAndTypePojo> companyAndType;

	public ArrayList<CompanyAndTypePojo> getCompanyAndType() {
		return companyAndType;
	}

	public void setCompanyAndType(ArrayList<CompanyAndTypePojo> companyAndType) {
		this.companyAndType = companyAndType;
	}

}
